diff -durN xephem-3.7.2.orig/GUI/xephem/trailmenu.c xephem-3.7.2/GUI/xephem/trailmenu.c
--- xephem-3.7.2.orig/GUI/xephem/trailmenu.c	2006-05-07 04:12:19.000000000 +0200
+++ xephem-3.7.2/GUI/xephem/trailmenu.c	2007-05-26 12:17:10.000000000 +0200
@@ -1010,6 +1010,8 @@
 	    }
 
 	    statep->customi = days;
+	} else {
+	    statep->customi = 0;
 	}
 
 
